#include "cgic.h"

extern char *cgiQueryString;

int cgiMain(){
    cgiHeaderContentType("text/html");
     fprintf(cgiOut, "<HTML><HEAD> <meta charset=\"UTF-8\">\n");
     fprintf(cgiOut, "<TITLE>My First CGI</TITLE></HEAD>\n");
     fprintf(cgiOut, "<BODY><H1>小测试，请求数据:%s</H1></BODY>\n",cgiQueryString);
     fprintf(cgiOut, "</HTML>\n");
}